package cc.koit.hulk.dao.entity;

import org.springframework.data.annotation.Id;

import java.util.Date;

public class Log {

    @Id
    private String id;

    private int type;

    private String remark;

    private Date operateTime;

    public Log() {
    }

    public Log(int type, String remark, Date operateTime) {
        this.type = type;
        this.remark = remark;
        this.operateTime = operateTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    @Override
    public String toString() {
        return "Log{" +
                "id=" + id +
                ", type=" + type +
                ", remark='" + remark + '\'' +
                ", operateTime=" + operateTime +
                '}';
    }
}
